import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
// // 在ts 项目中安装react-router-dom 需要下载包的类型声明包
// import { BrowserRouter as Router } from 'react-router-dom'



import { Provider } from 'react-redux'
import store from './store/index'
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <Provider store={store}>
    <App />
  </Provider>



);
